package xyz.syyrjx.blog.service;

import xyz.syyrjx.blog.entity.Comment;

import java.util.List;

public interface CommentService {
    public long countComment();
    public long countCommentByBlogId(Long id);
    public void addComment(Comment comment);
    public List<Comment> queryCommentByBlogId(Long id);
    public Comment queryCommentById(Long id);
    public void deleteCommentTree(Long id);
    public void deleteCommentInBlog(Long id);
}
